import React from 'react'
import style from './style.css'

class TalkItemList extends React.Component {
    constructor(props) {
        super(props);
        this.state = {visible: props.visible,};
    };


    componentWillReceiveProps(nextProps) {
    }


    onClose() {
        this.props.onClose()
    }

    render() {

        return <section className={style.TalkItemList}>
            {this.props.children}
        </section>
    }
}

TalkItemList.defaultProps = {
    popup: false,
    visible: false,
    onClose() {
    },
}
export default TalkItemList